using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("RuntimeAssetDatabase")]
	public class RuntimeAssetDatabase : MonoClass
	{
		public bool UseUnityAssetDatabase => method_11<bool>("get_UseUnityAssetDatabase", Array.Empty<object>());

		public RuntimeAssetDatabase(IntPtr address, string className)
			: base(address, className)
		{
		}

		public RuntimeAssetDatabase(IntPtr address)
			: this(address, "RuntimeAssetDatabase")
		{
		}

		public static string RadFilename(string locale)
		{
			return MonoClass.smethod_12(TritonHs.MainAssemblyPath, "", "RuntimeAssetDatabase", "RadFilename", locale);
		}

		public static string RadPath(string locale)
		{
			return MonoClass.smethod_12(TritonHs.MainAssemblyPath, "", "RuntimeAssetDatabase", "RadPath", locale);
		}

		public static RuntimeAssetDatabase Get()
		{
			return MonoClass.smethod_15<RuntimeAssetDatabase>(TritonHs.MainAssemblyPath, "", "RuntimeAssetDatabase", "Get", Array.Empty<object>());
		}

		public void Reset()
		{
			method_8("Reset");
		}

		public string GUIDToAssetPath(string guid)
		{
			return method_13("GUIDToAssetPath", guid);
		}

		public string AssetPathToGUID(string assetPath, bool printWarnings)
		{
			return method_13("AssetPathToGUID", assetPath, printWarnings);
		}

		public string GetGuidFromCardId(string cardId)
		{
			return method_13("GetGuidFromCardId", cardId);
		}

		public void ReadAndBuildMaps()
		{
			method_8("ReadAndBuildMaps");
		}
	}
}
